<!DOCTYPE html>
<html xmlns:th="http://www.w3.org/1999/xhtml">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">药品编号：</label>
                            <div class="col-sm-8">
                                <input id="id" name="id" class="form-control" type="text" maxlength="20" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">药品名称：</label>
                            <div class="col-sm-8">
                                <input id="name" name="name" class="form-control" type="text" maxlength="20" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">规格：</label>
                            <div class="col-sm-8">
                                <input id="specification" name="specification" class="form-control" type="text"
                                       maxlength="10" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">保质期（月）：</label>
                            <div class="col-sm-8">
                                <input id="qualityGuaranteePeriod" name="qualityGuaranteePeriod" class="form-control"
                                       type="number" max="60" min="1" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">库存下限：</label>
                            <div class="col-sm-8">
                                <input id="lowerLimit" name="lowerLimit" class="form-control" type="number" step="1" min="0"
                                       max="9999" required>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">供应商编号：</label>
                            <div class="col-sm-8">
                                <input id="supplierId" name="supplierId" type="text" class="form-control" maxlength="20">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">价格（元）：</label>
                            <div class="col-sm-8">
                                <input id="price" name="price" class="form-control"
                                       type="number" max="9999" min="1" required step="0.01">
                            </div>
                        </div>
                        <!-- -->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/plugins/laydate/laydate.js"></script>
<script type="text/javascript" src="/js/appjs/app/drug/add.js"></script>

</body>
</html>
